*comment Copyright 2010 by Dan Fabulich. *comment *comment Dan Fabulich licenses this file to you under the *comment ChoiceScript License, Version 1.0 (the "License"); you may *comment not use this file except in compliance with the License. *comment You may obtain a copy of the License at *comment *comment http://www.choiceofgames.com/LICENSE-1.0.txt *comment *comment See the License for the specific language governing *comment permissions and limitations under the License. *comment *comment Unless required by applicable law or agreed to in writing, *comment software distributed under the License is distributed on an *comment "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, *comment either express or implied. *set time (time + ((10-speed)/3)) *label time_start *temp time_of_year *if time < 1 *set time_of_year "early autumn" *goto start *elseif time < 2 *set time_of_year "midautumn" *goto start *elseif time < 3 *set time_of_year "late autumn" *goto start *elseif time < 4 *set time_of_year "early winter" *goto start *elseif time < 5 *set time_of_year "midwinter" *goto start *elseif time < 6 *set time_of_year "late winter" *goto start *elseif time < 7 *set time_of_year "early spring" *goto start *elseif time < 8 *set time_of_year "midspring" *goto start *elseif time < 9 *set time_of_year "late spring" *goto start *elseif time < 10 *set time_of_year "early summer" *goto start *elseif time < 11 *set time_of_year "midsummer" *goto start *elseif time < 12 *set time_of_year "late summer" *goto start *else *set time -12 *goto time_start *label start You're awoken from a sound sleep early one ${time_of_year} morning by shouts from your guards. "Flash flood!" *page_break You rush outside your wagon to find utter chaos. Whole parcels are floating away in the quick-flowing waters, already halfway at the bottom of your cart. You've hardly seen any rain so far in your journey, but it seems that's not been the case upriver. *label nowwhat *choice *hide_reuse #Send for help. *if (region = "kingdoms") The next town is always close by in this kingdom, so you send a runner. Within half an hour, he's returned with some local farmers and a team of oxen to help pull you up to a safe elevation. The other merchants are relieved and happy with your quick thinking. *set ephraim %+10 *set yishai %+10 *set alexander %+10 *goto hills *elseif (region = "flatlands") You send a runner, but it's a long distance to the next town. You wait an hour with no sign of the messenger. You have to do something. *goto nowwhat *else This area of the mountainside is too isolated. There's no one around for days. Alexander curses you for not taking the quick route to the west. *set alexander %-20 *goto nowwhat #Seal the wagons, climb onto them, and wait for the water to subside. You decide to seal up the carts as well as possible, and hope for the best. *if (animals > 2) You brought the appropriate supplies, but it's still an uncertain thing. *page_break Eventually, the water calms down, then begins to subside. Outside, the landscape is devastated; some of your animals are dead or missing, and you've lost some of the more delicate goods. Yishai seems the most upset at his loss. But, at least everyone's survived. *gosub loss *gosub loss *set yishai %-20 *set emphraim %-10 *set alexander %10 *set animals -1 *set speed -1 *goto lowlands *elseif (animals > 1) You make do with what you have. *page_break It's a terrible scene for the next few hours, and more than once you worry that the seal might not hold. But it does, and at last the water calms and subsides. Your animals are dead or gone, and some of the more delicate goods and supplies are lost or ruined. Yishai seems the most upset at his loss. But you're all alive. *gosub loss *gosub loss *set yishai %-20 *set emphraim %-10 *set alexander %10 *set animals 0 *set speed -2 *goto lowlands *else You're poorly equipped for this, but you try your best. *page_break It's a total loss. By the time the waters subside, your goods and supplies are lost or ruined, your animals have been carried away or drowned, and most of your guards are missing as well. You're stranded in the middle of nowhere with no way to afford further travel. *goto_scene failure *hide_reuse #Move the caravan to higher ground. *if (region = "kingdoms") There is some high ground in this kingdom, but not much. In fact, in this particular place, you can't see any major landmarks around, just some flooded trees and water as far as the eye can see. "Damn it, ${name}!" Ephraim cries in frustration. "I knew we should have taken the mountain route!" *set ephraim %-10 *goto nowwhat *elseif (region = "flatlands") There is no higher ground in the flatlands! "Damn it, ${name}!" Ephraim cries in frustration. "I knew we should have taken the mountain route!" *set ephraim %-20 *goto nowwhat *elseif (region = "mountains") *if (guards > 2) *if (Dedication > 60) It's a tough slog, but with your guards helping to push, and you even joining them when necessary, you manage to move everything up into the foothills more or less safely within a matter of hours, before the waters become even worse. Ephraim praises your quick thinking and preparedness. Though less effusive, the other merchants seem grateful as well. *set ephraim %+20 *set yishai %+20 *set alexander %+20 *goto hills *elseif (Dedication > 40) You give the order to push the caravan to higher ground, then turn your attentions to the status of your cart and its contents. Perhaps some sort of container to empty water if it should run over the sides... And there will need to be repairs and adjustments made once you get out of this water... Hey, how are the animals doing? Oh, they're fine, not looking very happy, but keeping on. That's good. *goto hills *else You give the order to push the caravan to higher ground, then retire inside your wagon. You trust your guards are competent enough to do this on your own. Your storyteller has not finished her last tale, and you're eager to hear more. *set ephraim %-10 *set yishai %-10 *set alexander %-10 *goto hills *elseif (guards = 2) *label nicetry *if (Dedication > 70) You're frankly undermanned for such an undertaking, but you do your best. Your guards help push and coax the animals forward as well as they can, given the circumstances. Finally you reach safety in the foothills. Some of your more perishable goods are lost or ruined, but at least everyone survives. *gosub loss *set yishai %-10 *set ephraim %-5 *set alexander %-5 *goto hills *elseif (Dedication > 50) You're frankly undermanned for stuch an untertaking. You still order your men to help push and move the carts when they get stuck, but you can't shake the feeling that it's hopeless. You hardly seem to be moving at all. In fact, you don't even seem to be climbing higher faster than the water is. Alexander is clearly upset at the lack of progress. *set alexander %-10 *goto nowwhat *else As soon as you give the order to try to push up to the hills as fast as possible, you start to have second thoughts. You just don't have enough men, and you don't seem to be getting anywhere. It's hopeless. *goto nowwhat *else "It's hopeless, boss." You look at your guards; they're a ragged pair, and they seem completely resigned that this attempt will fail. *label convincing *choice #Maybe they're right. *goto nowwhat *hide_reuse #Warn them to do this or I'll get my sword. *if (Martial > 60) Eyes wide, they quickly agree. Alexander watches in approval as they get to work pushing the cart. "That's how to deal with your men. Can't let them get out of line." *set Alexander %+25 *goto nicetry *else He sighs, long and slow. "If you kill us, you CERTAINLY won't get out of this." In his eyes, a look of utter despair. *goto convincing *hide_reuse #Convince them. *set leadership %+5 *if (Leadership > 70) "Men, you're our only hope. We might die here, on this day, if we don't climb to safety. These animals and supplies offer our only chance of surviving the trip back to civilization." Something in your impromptu speech seems to have lit a spark. *goto nicetry *elseif (Leadership > 50) "You must! We don't have a choice, our only option is to escape these waters!" They seem unconvinced. *goto convincing *else "But... you have to! These goods are everything! Without them, this journey was worthless!" They laugh in your face. *goto nowwhat *label hills That night on the hills, you all gather around a campfire to keep warm. *finish *label lowlands That night on the plains, you all gather around a campfire to keep warm. *finish *label loss *if (spices > 40) *set spices -5 *if (spices > 30) *set spices -4 *if (spices > 20) *set spices -3 *if (spices > 10) *set spices -2 *if (spices > 0) *set spices -1 *if (dyes > 40) *set dyes -5 *if (dyes > 30) *set dyes -4 *if (dyes > 20) *set dyes -3 *if (dyes > 10) *set dyes -2 *if (dyes > 0) *set dyes -1 *return